package bim.web.controller.paper;
//package paper.web.controller.paper;
//
//import java.util.List;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.security.access.prepost.PreAuthorize;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import paper.domain.Paper;
//import paper.service.PaperService;
//import paper.web.controller.BaseController;
//
//@Controller
//@PreAuthorize("hasRole('TEACHER')")
//@RequestMapping("/paper/paper/confirm")
//public class PaperConfirmController extends BaseController {
//	
//	@Autowired
//	PaperService service;
//	
//	Long paperId;
//	
//	/**
//	 * Logger for this class
//	 */
//	private static final Logger logger = LoggerFactory.getLogger(PaperConfirmController.class);
//	
//	public static class Views {
//		private static final String Prefix = "paper/paper/confirm";
//		static final String Index = to_(Prefix) + "index";
//		static final String Add = to_(Prefix) + "add";
//	}
//	
//	/**
//	 * <p>Method ：login
//	 * <p>Description : 处理控制台请求
//	 * @return 
//	 * @author  gulixing@msn.com
//	 * @version 1.0.0
//	 */
//	@RequestMapping(value = Routes.Index, method = RequestMethod.GET)
//	public String confirm(Model model) {
//		return Views.Index;
//	}
//	
//	@RequestMapping(value = "/add/{paperId}", method = RequestMethod.GET)
//	public String add(@PathVariable Long paperId, Model model) {	
//		this.paperId = paperId;
//		return Views.Add;
//	}
//	
//	
//	@RequestMapping(value = "/getPaper", method = RequestMethod.GET)
//	@ResponseBody
//	public List<Paper> getPaper() throws Exception {
//		return service.getDao().findSubmitOrPassByMaster(getCurrentUser().getId());
//	}
//	
//}